package cn.edu.njust.pojo;


public class User {
    // 学生账号
    private String idNo;
    // 用户姓名
    private String uName;
    // 用户登录密码
    private String password;
    // 用户电话号码
    private String telephone;
    //用户邮箱
    private String email;
    //用户年级
    private String grade;
    //报名情况
    private int status;
    //审批情况
    private int flag;
    //身份识别
    private int identity;
    //用户专业
    private String major;

    public User() {
    }

    public User(String idNo, String uName, String password, String telephone,
                String email, String grade, int status, int flag,int identity,String major) {
        this.idNo = idNo;
        this.uName = uName;
        this.password = password;
        this.telephone = telephone;
        this.email = email;
        this.grade = grade;
        this.status = status;
        this.flag = flag;
        this.identity = identity;
        this.major = major;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "User{" +
                "idNo='" + idNo + '\'' +
                ", uName='" + uName + '\'' +
                ", password='" + password + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                ", grade="+ grade +'\''+
                ", status=" + status +'\''+
                ", flag=" + flag +'\''+
                ", major=" + major +'\''+
                ", identity=" + identity +
                '}';
    }
}
